LiteSpeed\Cloud D

Total Complexity 197
Dependencies 12
Dependents 14
Total lines 1,185
Lines of code 677
Logical lines of code 468
Comment lines 234
Methods 33
Properties 7

Methods 33

Method Rating Maintainability Complexity Lines of code
_parse_response()
C
29 28 121
detect_cloud()
C
34 26 84
allowance()
B
45 18 40
_update_news()
A
49 13 27
_maybe_cloud()
A
45 12 40
gen_key()
A
43 10 45
handler()
A
50 8 30
check_dev_version()
S
54 7 21
_get()
S
50 5 28
_post()
S
51 5 25
save_apikey()
S
55 5 18
update_is_linked_status()
S
57 5 15
is_from_cloud()
S
59 5 14
ip_validate()
S
55 4 19
_validate_hash()
S
59 4 14
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
version_check()
S
61 4 11
_parse_link()
S
62 4 10
news()
S
64 4 10
has_pkg()
S
69 3 6
_update_ips()
S
59 2 13
_link_to_qc()
S
61 2 12
can_link_qc()
S
78 2 3
show_promo()
S
71 2 6
token_validate()
S
63 2 10
can_token()
S
77 2 3
_clear_promo()
S
66 2 9
post()
S
74 1 4
get()
S
75 1 4
ok()
S
76 1 4
err()
S
78 1 3
__construct()
S
76 1 4